<head>
<meta http-equiv='content-type' content='text/html; charset=utf8' />
<title>jsgoo tests</title><link rel='stylesheet' href='main.css' type='text/css' />
<script type='text/javascript' src='jsgoo.js'></script>
<script type='text/javascript'>

function test() { _.$into('main', _test.go([
        {   n: 'toMoney', 
            f: function(){ return _format.toMoney(10) }, 
            r: "10,00€" },

        {   n: 'toMoney', 
            f: function(){ return _format.toMoney(10.3) }, 
            r: "10,30€" },

        {   n: 'toMoney', 
            f: function(){ return _format.toMoney(12300) }, 
            r: "12.300,00€" },

        {   n: 'toMoney', 
            f: function(){ return _format.toMoney(12319991239) }, 
            r: "12.319.991.239,00€" },

        {   n: 'toMoney', 
            f: function(){ return _format.toMoney(1239012.121) }, 
            r: "1.239.012,12€" },

        ]));
} 

</script>
<body>
<div><a href="index.html">index</a> <a href="#" onclick="test(); return false;">test</a></div>
<p><b>TODO:</b> more unit tests as this API evolves.</p>
<div id="main"></div>
</body>
</html>